package com.ynet.finmall.dao;

import com.ynet.finmall.model.ImUserRole;
import com.ynet.finmall.model.ImUserRoleQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ImUserRoleDao {
    int countByExample(ImUserRoleQuery example);

    int deleteByExample(ImUserRoleQuery example);

    int deleteByPrimaryKey(String userRoleId);

    int insert(ImUserRole record);

    int insertSelective(ImUserRole record);

    List<ImUserRole> selectByExample(ImUserRoleQuery example);

    ImUserRole selectByPrimaryKey(String userRoleId);

    int updateByExampleSelective(@Param("record") ImUserRole record, @Param("example") ImUserRoleQuery example);

    int updateByExample(@Param("record") ImUserRole record, @Param("example") ImUserRoleQuery example);

    int updateByPrimaryKeySelective(ImUserRole record);

    int updateByPrimaryKey(ImUserRole record);
}